package com.woody.aggregate.infrastructure.saas.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.woody.common.mybatisplus.model.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * saas商圈行业
 */
@Data
@TableName("saas_shop_config")
public class SaasShopConfig extends BaseEntity implements Serializable {

    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty(value = "商圈id")
    private Long merchantId;

    @ApiModelProperty(value = "店铺id")
    private Long shopId;

    @ApiModelProperty(value = "商圈名称")
    private String name;

    @ApiModelProperty(value = "行业编码")
    private String saasIndustryCode;

    @ApiModelProperty(value = "子门店展示方式:1=商圈展示,0=门店独立展示,默认1")
    private Integer childShopShowType;

    @ApiModelProperty(value = "主门店展示方式:1=商圈展示,0=店铺列表展示,默认1")
    private Integer parentShopShowType;

    @ApiModelProperty(value = "主门店是否展示:1=展示,0=隐藏,默认1")
    private Integer parentShopShow;
}
